package org.dromara.websocket.connection;

/**
 * Created by       PokerFace
 * Create Date      2023-09-28
 * Email:
 * Version          1.0.0
 * <p>
 * Description:
 */
public interface ConnectionListener {

    /**
     *  收到连接请求
     *
     * @param connection
     */
    void arrived(Connection connection);

    /**
     * 连接断开
     *
     * @param connection
     */
    void disconnected(Connection connection);
}
